package com.htjx.mall.commons.models.user;

import java.math.BigDecimal;


/**
 * 现金，可以提现，与现实中的money 一样
 * @author Administrator
 *
 */
public class Account {
	/** id **/
	private long id;
	/** 所属用户id **/
	private long user_id;
	/** 现金余额 **/
	private BigDecimal cash = BigDecimal.ZERO;
	/** 冻结的现金 **/
	private BigDecimal frozen_cash = BigDecimal.ZERO;
	/** 累计充值 **/
	private BigDecimal total_recharge = BigDecimal.ZERO;
	/** 金币 **/
	private int gold_coin;
	/** 冻结的金币 **/
	private int frozen_gold_coin;
	/** 积分 **/
	private int points;
	/** 冻结的积分 **/
	private int frozen_points;
	/**版本字段**/
	private int version;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUser_id() {
		return user_id;
	}
	public void setUser_id(long user_id) {
		this.user_id = user_id;
	}
	public int getGold_coin() {
		return gold_coin;
	}
	public void setGold_coin(int gold_coin) {
		this.gold_coin = gold_coin;
	}
	public int getPoints() {
		return points;
	}
	public void setPoints(int points) {
		this.points = points;
	}
	public BigDecimal getTotal_recharge() {
		return total_recharge;
	}
	public void setTotal_recharge(BigDecimal total_recharge) {
		this.total_recharge = total_recharge;
	}
	public BigDecimal getCash() {
		return cash;
	}
	public void setCash(BigDecimal cash) {
		this.cash = cash;
	}
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public BigDecimal getFrozen_cash() {
		return frozen_cash;
	}
	public void setFrozen_cash(BigDecimal frozen_cash) {
		this.frozen_cash = frozen_cash;
	}
	public int getFrozen_gold_coin() {
		return frozen_gold_coin;
	}
	public void setFrozen_gold_coin(int frozen_gold_coin) {
		this.frozen_gold_coin = frozen_gold_coin;
	}
	public int getFrozen_points() {
		return frozen_points;
	}
	public void setFrozen_points(int frozen_points) {
		this.frozen_points = frozen_points;
	}
	
}
